import request from '@/utils/request'

export const wxUpdate = (data) => request({
  url: '/wechat/set_wechat',
  method: 'post',
  data: data
})
export const wxGetList = (data) => {
  return request({
    url: '/wechat/get_wechat',
    method: 'post',
    data: data
  })
}

export const updateShow = (data) => request({
  url: '/show/set_show',
  method: 'post',
  data: data
})
export const getShowList = (data) => {
  return request({
    url: '/show/get_show',
    method: 'post',
    data: data
  })
}

export const updateShortMessage = (data) => request({
  url: '/message/set_message',
  method: 'post',
  data: data
})
export const getShortMessageList = (data) => {
  return request({
    url: '/message/get_message',
    method: 'post',
    data: data
  })
}